package org.ifilm.service;

import org.ifilm.model.User;

/**
 * User Service interface
 * 
 * @author Mustafa Genc
 *
 */
public interface UserService {
	
	/**
	 * 
	 * @param user
	 * 		user to persist
	 * @return
	 * 		returns created User
	 */
	public User createUser(User user);
	
	/**
	 * 
	 * @param email
	 * 		email of the user
	 * @param password
	 * 		password of the user
	 * @return
	 * 		returns the logged user
	 */
	public User getUser(String email, String password);
}